﻿using CommonType;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace S_Incident.Domains.WorkflowEngine
{
    /// <summary>
    /// 节点表
    /// </summary>
    [SugarTable("Node")]
    public class Node: BaceEntity
    {
        /// <summary>
        /// 节点id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
         public int Id { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        [SugarColumn(ColumnDescription ="节点名称", Length = 200, IsNullable = true)]
        public string? NodeName { get; set; }
        /// <summary>
        /// 节点类型
        /// </summary>
        [SugarColumn(ColumnDescription ="节点类型",Length =200,IsNullable =true)]
        public string? NodeType { get; set; }
        /// <summary>
        /// 节点操作者
        /// </summary>
        [SugarColumn(ColumnDescription ="节点操作",Length =300,IsNullable =true)]
        public string? NodeOperator { get; set; }

        /// <summary>
        /// 处理时间
        /// </summary>
        [SugarColumn(ColumnDescription = "处理时间", Length = 200, IsNullable = true)]
        public string? ProcessingTime { get; set; }
        /// <summary>
        /// 天数
        /// </summary>
        [SugarColumn(ColumnDescription ="天数",Length =200,IsNullable =true)]
        public string? NumberDays { get; set; }
    }
}
